/*
 * testCloseIcon.fx
 *
 * Created on Apr 12, 2010, 2:13:29 PM
 */

package fxgreader.test;
import javafx.ext.swing.SwingComponent;
import javafx.scene.Scene;
import javafx.stage.Stage;
import fxgreader.components.CloseIcon;

/**
 * @author perkintang
 */
Stage {
    title: "Application title"
    scene: Scene {
        content: [
           // HBox{
           //     content:[
                    CloseIcon{
                            onClick : function(){
                                    println("clicked!");
                                    }
                            translateX : 200
                            translateY : 200
                            }
           //         SwingComponent.wrap(pane1)
           //         ]
          //  }
        ]
    }
}